<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量 
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。 
	pageContext.setAttribute("basePath", basePath);
	//out.write(basePath);
%>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="<%=basePath %>logined/Add/Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath %>logined/Add/Css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath %>logined/Add/Css/style.css" />
    <script type="text/javascript" src="<%=basePath %>logined/Add/Js/jquery.js"></script>
    <script type="text/javascript" src="<%=basePath %>logined/Add/Js/jquery.sorted.js"></script>
    <script type="text/javascript" src="<%=basePath %>logined/Add/Js/bootstrap.js"></script>
    <script type="text/javascript" src="<%=basePath %>logined/Add/Js/ckform.js"></script>
    <script type="text/javascript" src="<%=basePath %>logined/Add/Js/common.js"></script>
    <script>
    $(function () {       
		$('#backid').click(function(){
				window.location.href="redirect.do?page=clientInfoQuery";
		 });

    });
    </script>
 

    <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }


    </style>
</head>
<body>
<form action="clientAdd.do" method="post" class="definewidth m20">
<table class="table table-bordered table-hover definewidth m10">
    
    
    <input type="hidden"  id="clientid" name="clientid" value="${cliE.clientid }"/>
    
    
    <tr>
        <td width="10%" class="tableleft">用户名</td>
        <td><input type="text" name="clientname" 
        value="${cliE.clientname }"/></td>
    </tr>
    <tr>
        <td class="tableleft">性别</td>
        <td><input type="text" name="clientsex"
        value="${cliE.clientsex }"/></td>
    </tr>
    
    <tr>
        <td class="tableleft">出生年月</td>
        <td><input type="text" name="clientbirth" 
        value="${cliE.clientbirth }"/>
            
        </td>
        
    </tr>
    
    <tr>
        <td class="tableleft">身份证号码</td>
        <td ><input type="text" name="clientidcard" style="text-align: center" placeholder="若末位带有X，请大写"
        value="${cliE.clientidcard }"/></td>
        
        
    </tr>
    <tr>
        <td class="tableleft">地址</td>
        <td><input type="text" name="clientaddress"
        value="${cliE.clientaddress }"/></td>
    </tr>
    
    <tr>
        <td class="tableleft"></td>
        <td>
            <button type="submit" class="btn btn-primary" type="button">保存</button> &nbsp;&nbsp;
            <button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
        </td>
    </tr>
</table>
</form>
</body>
</html>
